﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true" CodeBehind="MasterJobCategories.aspx.cs" Inherits="WebApplication10.JobCategories" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">


h2
{
    font-size: 1.5em;
    font-weight: 600;
}

h2
{
    font-size: 1.5em;
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
}

    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2>
        &nbsp;&nbsp;
        <asp:Label ID="Label2" runat="server" Font-Names="Calibri" 
            Text="Job Categories"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        &nbsp;</h2>
    <asp:GridView ID="GridView1" runat="server" GridLines="None" Height="147px" 
        onselectedindexchanged="GridView1_SelectedIndexChanged" Width="249px" 
        DataSourceID="ObjectDataSource1" AutoGenerateColumns="False">
        <Columns>
            <asp:BoundField DataField="JobCategoryID" HeaderText="JobCategoryID" 
                SortExpression="JobCategoryID"></asp:BoundField>
            <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name">
            </asp:BoundField>
            <asp:BoundField DataField="CompanyID" HeaderText="CompanyID" 
                SortExpression="CompanyID"></asp:BoundField>
        </Columns>
    </asp:GridView>
    <br />
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        TypeName="WebApplication10.App_Code.JobCategory" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="GetJobCategories"></asp:ObjectDataSource>
    <br />
</asp:Content>
